package com.DongBing.service;

import com.DongBing.common.utils.Res;
import com.baomidou.mybatisplus.extension.service.IService;
import com.DongBing.common.utils.PageUtils;
import com.DongBing.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ¶­±ù
 * @email 861571118@QQ.com
 * @date 2022-05-16 15:56:01
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Res<List<CategoryEntity>> listTree();

    Res deleteIds(Long[] catIds);

    Res<?> delete(String ids);

    Res<?> insert(CategoryEntity categoryEntity);

    Res<?> update(CategoryEntity categoryEntity);

    Res<?> deletes(Long[] ids);

    Long[] findPath(Long attrGroupId);

}

